#include <stdio.h>

int isEven(int a)
{
  return a % 2 == 0;
}

int main()
{
  int res;
  int num1, num2;

  printf("Enter a number: ");
  scanf("%d", &num1);
  res = isEven(num1); // 调用函数判断第一个数是否为偶数
  printf("Is the number even? %s\n", res ? "Yes" : "No");
  return 0;
}